.DEFAULT_GOAL = rbuild

build:
	cmake . -Bbuild
	cd build && make

clean:
	rm -rf build dist

test_python: build
	PYTHONPATH=build/python python3 tests/test_python.py

rbuild: clean build run
